<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body style="padding: 10px" >
<div ng-app="person" ng-controller="setperson">
    <p>循环输出</p>
    <ul style="list-style: none">
        <li ng-repeat="x in names">
            {{x.name+x.age}}
        </li>
    </ul>

</div>
<div ng-app="test" ng-controller="addname">
    名: <input type="text" ng-model="firstname"><br>
    姓: <input type="text" ng-model="secondname"><br>
    <br>
    姓名: <span ng-bind="firstname+' '+secondname|uppercase"></span>
</div>


<script type="text/javascript" src="../js/angular-1.4.0-rc.2/angular.min.js"></script>
<script type="text/javascript" src="../js/controller.js"></script>

</body>
</html>